/*  zwt */
package cn.mandy.sysadmin.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MonitorJobExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MonitorJobExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andJobTypeIsNull() {
            addCriterion("job_type is null");
            return (Criteria) this;
        }

        public Criteria andJobTypeIsNotNull() {
            addCriterion("job_type is not null");
            return (Criteria) this;
        }

        public Criteria andJobTypeEqualTo(String value) {
            addCriterion("job_type =", value, "jobType");
            return (Criteria) this;
        }

        public Criteria andJobTypeNotEqualTo(String value) {
            addCriterion("job_type <>", value, "jobType");
            return (Criteria) this;
        }

        public Criteria andJobTypeGreaterThan(String value) {
            addCriterion("job_type >", value, "jobType");
            return (Criteria) this;
        }

        public Criteria andJobTypeGreaterThanOrEqualTo(String value) {
            addCriterion("job_type >=", value, "jobType");
            return (Criteria) this;
        }

        public Criteria andJobTypeLessThan(String value) {
            addCriterion("job_type <", value, "jobType");
            return (Criteria) this;
        }

        public Criteria andJobTypeLessThanOrEqualTo(String value) {
            addCriterion("job_type <=", value, "jobType");
            return (Criteria) this;
        }

        public Criteria andJobTypeLike(String value) {
            addCriterion("job_type like", value, "jobType");
            return (Criteria) this;
        }

        public Criteria andJobTypeNotLike(String value) {
            addCriterion("job_type not like", value, "jobType");
            return (Criteria) this;
        }

        public Criteria andJobTypeIn(List<String> values) {
            addCriterion("job_type in", values, "jobType");
            return (Criteria) this;
        }

        public Criteria andJobTypeNotIn(List<String> values) {
            addCriterion("job_type not in", values, "jobType");
            return (Criteria) this;
        }

        public Criteria andJobTypeBetween(String value1, String value2) {
            addCriterion("job_type between", value1, value2, "jobType");
            return (Criteria) this;
        }

        public Criteria andJobTypeNotBetween(String value1, String value2) {
            addCriterion("job_type not between", value1, value2, "jobType");
            return (Criteria) this;
        }

        public Criteria andJobNameIsNull() {
            addCriterion("job_name is null");
            return (Criteria) this;
        }

        public Criteria andJobNameIsNotNull() {
            addCriterion("job_name is not null");
            return (Criteria) this;
        }

        public Criteria andJobNameEqualTo(String value) {
            addCriterion("job_name =", value, "jobName");
            return (Criteria) this;
        }

        public Criteria andJobNameNotEqualTo(String value) {
            addCriterion("job_name <>", value, "jobName");
            return (Criteria) this;
        }

        public Criteria andJobNameGreaterThan(String value) {
            addCriterion("job_name >", value, "jobName");
            return (Criteria) this;
        }

        public Criteria andJobNameGreaterThanOrEqualTo(String value) {
            addCriterion("job_name >=", value, "jobName");
            return (Criteria) this;
        }

        public Criteria andJobNameLessThan(String value) {
            addCriterion("job_name <", value, "jobName");
            return (Criteria) this;
        }

        public Criteria andJobNameLessThanOrEqualTo(String value) {
            addCriterion("job_name <=", value, "jobName");
            return (Criteria) this;
        }

        public Criteria andJobNameLike(String value) {
            addCriterion("job_name like", value, "jobName");
            return (Criteria) this;
        }

        public Criteria andJobNameNotLike(String value) {
            addCriterion("job_name not like", value, "jobName");
            return (Criteria) this;
        }

        public Criteria andJobNameIn(List<String> values) {
            addCriterion("job_name in", values, "jobName");
            return (Criteria) this;
        }

        public Criteria andJobNameNotIn(List<String> values) {
            addCriterion("job_name not in", values, "jobName");
            return (Criteria) this;
        }

        public Criteria andJobNameBetween(String value1, String value2) {
            addCriterion("job_name between", value1, value2, "jobName");
            return (Criteria) this;
        }

        public Criteria andJobNameNotBetween(String value1, String value2) {
            addCriterion("job_name not between", value1, value2, "jobName");
            return (Criteria) this;
        }

        public Criteria andHostNameIsNull() {
            addCriterion("host_name is null");
            return (Criteria) this;
        }

        public Criteria andHostNameIsNotNull() {
            addCriterion("host_name is not null");
            return (Criteria) this;
        }

        public Criteria andHostNameEqualTo(String value) {
            addCriterion("host_name =", value, "hostName");
            return (Criteria) this;
        }

        public Criteria andHostNameNotEqualTo(String value) {
            addCriterion("host_name <>", value, "hostName");
            return (Criteria) this;
        }

        public Criteria andHostNameGreaterThan(String value) {
            addCriterion("host_name >", value, "hostName");
            return (Criteria) this;
        }

        public Criteria andHostNameGreaterThanOrEqualTo(String value) {
            addCriterion("host_name >=", value, "hostName");
            return (Criteria) this;
        }

        public Criteria andHostNameLessThan(String value) {
            addCriterion("host_name <", value, "hostName");
            return (Criteria) this;
        }

        public Criteria andHostNameLessThanOrEqualTo(String value) {
            addCriterion("host_name <=", value, "hostName");
            return (Criteria) this;
        }

        public Criteria andHostNameLike(String value) {
            addCriterion("host_name like", value, "hostName");
            return (Criteria) this;
        }

        public Criteria andHostNameNotLike(String value) {
            addCriterion("host_name not like", value, "hostName");
            return (Criteria) this;
        }

        public Criteria andHostNameIn(List<String> values) {
            addCriterion("host_name in", values, "hostName");
            return (Criteria) this;
        }

        public Criteria andHostNameNotIn(List<String> values) {
            addCriterion("host_name not in", values, "hostName");
            return (Criteria) this;
        }

        public Criteria andHostNameBetween(String value1, String value2) {
            addCriterion("host_name between", value1, value2, "hostName");
            return (Criteria) this;
        }

        public Criteria andHostNameNotBetween(String value1, String value2) {
            addCriterion("host_name not between", value1, value2, "hostName");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNull() {
            addCriterion("parent_id is null");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNotNull() {
            addCriterion("parent_id is not null");
            return (Criteria) this;
        }

        public Criteria andParentIdEqualTo(Long value) {
            addCriterion("parent_id =", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotEqualTo(Long value) {
            addCriterion("parent_id <>", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThan(Long value) {
            addCriterion("parent_id >", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThanOrEqualTo(Long value) {
            addCriterion("parent_id >=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThan(Long value) {
            addCriterion("parent_id <", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThanOrEqualTo(Long value) {
            addCriterion("parent_id <=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdIn(List<Long> values) {
            addCriterion("parent_id in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotIn(List<Long> values) {
            addCriterion("parent_id not in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdBetween(Long value1, Long value2) {
            addCriterion("parent_id between", value1, value2, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotBetween(Long value1, Long value2) {
            addCriterion("parent_id not between", value1, value2, "parentId");
            return (Criteria) this;
        }

        public Criteria andOrdinalPositionIsNull() {
            addCriterion("ordinal_position is null");
            return (Criteria) this;
        }

        public Criteria andOrdinalPositionIsNotNull() {
            addCriterion("ordinal_position is not null");
            return (Criteria) this;
        }

        public Criteria andOrdinalPositionEqualTo(Integer value) {
            addCriterion("ordinal_position =", value, "ordinalPosition");
            return (Criteria) this;
        }

        public Criteria andOrdinalPositionNotEqualTo(Integer value) {
            addCriterion("ordinal_position <>", value, "ordinalPosition");
            return (Criteria) this;
        }

        public Criteria andOrdinalPositionGreaterThan(Integer value) {
            addCriterion("ordinal_position >", value, "ordinalPosition");
            return (Criteria) this;
        }

        public Criteria andOrdinalPositionGreaterThanOrEqualTo(Integer value) {
            addCriterion("ordinal_position >=", value, "ordinalPosition");
            return (Criteria) this;
        }

        public Criteria andOrdinalPositionLessThan(Integer value) {
            addCriterion("ordinal_position <", value, "ordinalPosition");
            return (Criteria) this;
        }

        public Criteria andOrdinalPositionLessThanOrEqualTo(Integer value) {
            addCriterion("ordinal_position <=", value, "ordinalPosition");
            return (Criteria) this;
        }

        public Criteria andOrdinalPositionIn(List<Integer> values) {
            addCriterion("ordinal_position in", values, "ordinalPosition");
            return (Criteria) this;
        }

        public Criteria andOrdinalPositionNotIn(List<Integer> values) {
            addCriterion("ordinal_position not in", values, "ordinalPosition");
            return (Criteria) this;
        }

        public Criteria andOrdinalPositionBetween(Integer value1, Integer value2) {
            addCriterion("ordinal_position between", value1, value2, "ordinalPosition");
            return (Criteria) this;
        }

        public Criteria andOrdinalPositionNotBetween(Integer value1, Integer value2) {
            addCriterion("ordinal_position not between", value1, value2, "ordinalPosition");
            return (Criteria) this;
        }

        public Criteria andSerialProcessingIsNull() {
            addCriterion("serial_processing is null");
            return (Criteria) this;
        }

        public Criteria andSerialProcessingIsNotNull() {
            addCriterion("serial_processing is not null");
            return (Criteria) this;
        }

        public Criteria andSerialProcessingEqualTo(String value) {
            addCriterion("serial_processing =", value, "serialProcessing");
            return (Criteria) this;
        }

        public Criteria andSerialProcessingNotEqualTo(String value) {
            addCriterion("serial_processing <>", value, "serialProcessing");
            return (Criteria) this;
        }

        public Criteria andSerialProcessingGreaterThan(String value) {
            addCriterion("serial_processing >", value, "serialProcessing");
            return (Criteria) this;
        }

        public Criteria andSerialProcessingGreaterThanOrEqualTo(String value) {
            addCriterion("serial_processing >=", value, "serialProcessing");
            return (Criteria) this;
        }

        public Criteria andSerialProcessingLessThan(String value) {
            addCriterion("serial_processing <", value, "serialProcessing");
            return (Criteria) this;
        }

        public Criteria andSerialProcessingLessThanOrEqualTo(String value) {
            addCriterion("serial_processing <=", value, "serialProcessing");
            return (Criteria) this;
        }

        public Criteria andSerialProcessingLike(String value) {
            addCriterion("serial_processing like", value, "serialProcessing");
            return (Criteria) this;
        }

        public Criteria andSerialProcessingNotLike(String value) {
            addCriterion("serial_processing not like", value, "serialProcessing");
            return (Criteria) this;
        }

        public Criteria andSerialProcessingIn(List<String> values) {
            addCriterion("serial_processing in", values, "serialProcessing");
            return (Criteria) this;
        }

        public Criteria andSerialProcessingNotIn(List<String> values) {
            addCriterion("serial_processing not in", values, "serialProcessing");
            return (Criteria) this;
        }

        public Criteria andSerialProcessingBetween(String value1, String value2) {
            addCriterion("serial_processing between", value1, value2, "serialProcessing");
            return (Criteria) this;
        }

        public Criteria andSerialProcessingNotBetween(String value1, String value2) {
            addCriterion("serial_processing not between", value1, value2, "serialProcessing");
            return (Criteria) this;
        }

        public Criteria andOrdinalPosition2IsNull() {
            addCriterion("ordinal_position2 is null");
            return (Criteria) this;
        }

        public Criteria andOrdinalPosition2IsNotNull() {
            addCriterion("ordinal_position2 is not null");
            return (Criteria) this;
        }

        public Criteria andOrdinalPosition2EqualTo(Integer value) {
            addCriterion("ordinal_position2 =", value, "ordinalPosition2");
            return (Criteria) this;
        }

        public Criteria andOrdinalPosition2NotEqualTo(Integer value) {
            addCriterion("ordinal_position2 <>", value, "ordinalPosition2");
            return (Criteria) this;
        }

        public Criteria andOrdinalPosition2GreaterThan(Integer value) {
            addCriterion("ordinal_position2 >", value, "ordinalPosition2");
            return (Criteria) this;
        }

        public Criteria andOrdinalPosition2GreaterThanOrEqualTo(Integer value) {
            addCriterion("ordinal_position2 >=", value, "ordinalPosition2");
            return (Criteria) this;
        }

        public Criteria andOrdinalPosition2LessThan(Integer value) {
            addCriterion("ordinal_position2 <", value, "ordinalPosition2");
            return (Criteria) this;
        }

        public Criteria andOrdinalPosition2LessThanOrEqualTo(Integer value) {
            addCriterion("ordinal_position2 <=", value, "ordinalPosition2");
            return (Criteria) this;
        }

        public Criteria andOrdinalPosition2In(List<Integer> values) {
            addCriterion("ordinal_position2 in", values, "ordinalPosition2");
            return (Criteria) this;
        }

        public Criteria andOrdinalPosition2NotIn(List<Integer> values) {
            addCriterion("ordinal_position2 not in", values, "ordinalPosition2");
            return (Criteria) this;
        }

        public Criteria andOrdinalPosition2Between(Integer value1, Integer value2) {
            addCriterion("ordinal_position2 between", value1, value2, "ordinalPosition2");
            return (Criteria) this;
        }

        public Criteria andOrdinalPosition2NotBetween(Integer value1, Integer value2) {
            addCriterion("ordinal_position2 not between", value1, value2, "ordinalPosition2");
            return (Criteria) this;
        }

        public Criteria andHasDependenceIsNull() {
            addCriterion("has_dependence is null");
            return (Criteria) this;
        }

        public Criteria andHasDependenceIsNotNull() {
            addCriterion("has_dependence is not null");
            return (Criteria) this;
        }

        public Criteria andHasDependenceEqualTo(String value) {
            addCriterion("has_dependence =", value, "hasDependence");
            return (Criteria) this;
        }

        public Criteria andHasDependenceNotEqualTo(String value) {
            addCriterion("has_dependence <>", value, "hasDependence");
            return (Criteria) this;
        }

        public Criteria andHasDependenceGreaterThan(String value) {
            addCriterion("has_dependence >", value, "hasDependence");
            return (Criteria) this;
        }

        public Criteria andHasDependenceGreaterThanOrEqualTo(String value) {
            addCriterion("has_dependence >=", value, "hasDependence");
            return (Criteria) this;
        }

        public Criteria andHasDependenceLessThan(String value) {
            addCriterion("has_dependence <", value, "hasDependence");
            return (Criteria) this;
        }

        public Criteria andHasDependenceLessThanOrEqualTo(String value) {
            addCriterion("has_dependence <=", value, "hasDependence");
            return (Criteria) this;
        }

        public Criteria andHasDependenceLike(String value) {
            addCriterion("has_dependence like", value, "hasDependence");
            return (Criteria) this;
        }

        public Criteria andHasDependenceNotLike(String value) {
            addCriterion("has_dependence not like", value, "hasDependence");
            return (Criteria) this;
        }

        public Criteria andHasDependenceIn(List<String> values) {
            addCriterion("has_dependence in", values, "hasDependence");
            return (Criteria) this;
        }

        public Criteria andHasDependenceNotIn(List<String> values) {
            addCriterion("has_dependence not in", values, "hasDependence");
            return (Criteria) this;
        }

        public Criteria andHasDependenceBetween(String value1, String value2) {
            addCriterion("has_dependence between", value1, value2, "hasDependence");
            return (Criteria) this;
        }

        public Criteria andHasDependenceNotBetween(String value1, String value2) {
            addCriterion("has_dependence not between", value1, value2, "hasDependence");
            return (Criteria) this;
        }

        public Criteria andLogFileNameIsNull() {
            addCriterion("log_file_name is null");
            return (Criteria) this;
        }

        public Criteria andLogFileNameIsNotNull() {
            addCriterion("log_file_name is not null");
            return (Criteria) this;
        }

        public Criteria andLogFileNameEqualTo(String value) {
            addCriterion("log_file_name =", value, "logFileName");
            return (Criteria) this;
        }

        public Criteria andLogFileNameNotEqualTo(String value) {
            addCriterion("log_file_name <>", value, "logFileName");
            return (Criteria) this;
        }

        public Criteria andLogFileNameGreaterThan(String value) {
            addCriterion("log_file_name >", value, "logFileName");
            return (Criteria) this;
        }

        public Criteria andLogFileNameGreaterThanOrEqualTo(String value) {
            addCriterion("log_file_name >=", value, "logFileName");
            return (Criteria) this;
        }

        public Criteria andLogFileNameLessThan(String value) {
            addCriterion("log_file_name <", value, "logFileName");
            return (Criteria) this;
        }

        public Criteria andLogFileNameLessThanOrEqualTo(String value) {
            addCriterion("log_file_name <=", value, "logFileName");
            return (Criteria) this;
        }

        public Criteria andLogFileNameLike(String value) {
            addCriterion("log_file_name like", value, "logFileName");
            return (Criteria) this;
        }

        public Criteria andLogFileNameNotLike(String value) {
            addCriterion("log_file_name not like", value, "logFileName");
            return (Criteria) this;
        }

        public Criteria andLogFileNameIn(List<String> values) {
            addCriterion("log_file_name in", values, "logFileName");
            return (Criteria) this;
        }

        public Criteria andLogFileNameNotIn(List<String> values) {
            addCriterion("log_file_name not in", values, "logFileName");
            return (Criteria) this;
        }

        public Criteria andLogFileNameBetween(String value1, String value2) {
            addCriterion("log_file_name between", value1, value2, "logFileName");
            return (Criteria) this;
        }

        public Criteria andLogFileNameNotBetween(String value1, String value2) {
            addCriterion("log_file_name not between", value1, value2, "logFileName");
            return (Criteria) this;
        }

        public Criteria andRestartTimesIsNull() {
            addCriterion("restart_times is null");
            return (Criteria) this;
        }

        public Criteria andRestartTimesIsNotNull() {
            addCriterion("restart_times is not null");
            return (Criteria) this;
        }

        public Criteria andRestartTimesEqualTo(Integer value) {
            addCriterion("restart_times =", value, "restartTimes");
            return (Criteria) this;
        }

        public Criteria andRestartTimesNotEqualTo(Integer value) {
            addCriterion("restart_times <>", value, "restartTimes");
            return (Criteria) this;
        }

        public Criteria andRestartTimesGreaterThan(Integer value) {
            addCriterion("restart_times >", value, "restartTimes");
            return (Criteria) this;
        }

        public Criteria andRestartTimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("restart_times >=", value, "restartTimes");
            return (Criteria) this;
        }

        public Criteria andRestartTimesLessThan(Integer value) {
            addCriterion("restart_times <", value, "restartTimes");
            return (Criteria) this;
        }

        public Criteria andRestartTimesLessThanOrEqualTo(Integer value) {
            addCriterion("restart_times <=", value, "restartTimes");
            return (Criteria) this;
        }

        public Criteria andRestartTimesIn(List<Integer> values) {
            addCriterion("restart_times in", values, "restartTimes");
            return (Criteria) this;
        }

        public Criteria andRestartTimesNotIn(List<Integer> values) {
            addCriterion("restart_times not in", values, "restartTimes");
            return (Criteria) this;
        }

        public Criteria andRestartTimesBetween(Integer value1, Integer value2) {
            addCriterion("restart_times between", value1, value2, "restartTimes");
            return (Criteria) this;
        }

        public Criteria andRestartTimesNotBetween(Integer value1, Integer value2) {
            addCriterion("restart_times not between", value1, value2, "restartTimes");
            return (Criteria) this;
        }

        public Criteria andRestartIntervalIsNull() {
            addCriterion("restart_interval is null");
            return (Criteria) this;
        }

        public Criteria andRestartIntervalIsNotNull() {
            addCriterion("restart_interval is not null");
            return (Criteria) this;
        }

        public Criteria andRestartIntervalEqualTo(Integer value) {
            addCriterion("restart_interval =", value, "restartInterval");
            return (Criteria) this;
        }

        public Criteria andRestartIntervalNotEqualTo(Integer value) {
            addCriterion("restart_interval <>", value, "restartInterval");
            return (Criteria) this;
        }

        public Criteria andRestartIntervalGreaterThan(Integer value) {
            addCriterion("restart_interval >", value, "restartInterval");
            return (Criteria) this;
        }

        public Criteria andRestartIntervalGreaterThanOrEqualTo(Integer value) {
            addCriterion("restart_interval >=", value, "restartInterval");
            return (Criteria) this;
        }

        public Criteria andRestartIntervalLessThan(Integer value) {
            addCriterion("restart_interval <", value, "restartInterval");
            return (Criteria) this;
        }

        public Criteria andRestartIntervalLessThanOrEqualTo(Integer value) {
            addCriterion("restart_interval <=", value, "restartInterval");
            return (Criteria) this;
        }

        public Criteria andRestartIntervalIn(List<Integer> values) {
            addCriterion("restart_interval in", values, "restartInterval");
            return (Criteria) this;
        }

        public Criteria andRestartIntervalNotIn(List<Integer> values) {
            addCriterion("restart_interval not in", values, "restartInterval");
            return (Criteria) this;
        }

        public Criteria andRestartIntervalBetween(Integer value1, Integer value2) {
            addCriterion("restart_interval between", value1, value2, "restartInterval");
            return (Criteria) this;
        }

        public Criteria andRestartIntervalNotBetween(Integer value1, Integer value2) {
            addCriterion("restart_interval not between", value1, value2, "restartInterval");
            return (Criteria) this;
        }

        public Criteria andStartCommandIsNull() {
            addCriterion("start_command is null");
            return (Criteria) this;
        }

        public Criteria andStartCommandIsNotNull() {
            addCriterion("start_command is not null");
            return (Criteria) this;
        }

        public Criteria andStartCommandEqualTo(String value) {
            addCriterion("start_command =", value, "startCommand");
            return (Criteria) this;
        }

        public Criteria andStartCommandNotEqualTo(String value) {
            addCriterion("start_command <>", value, "startCommand");
            return (Criteria) this;
        }

        public Criteria andStartCommandGreaterThan(String value) {
            addCriterion("start_command >", value, "startCommand");
            return (Criteria) this;
        }

        public Criteria andStartCommandGreaterThanOrEqualTo(String value) {
            addCriterion("start_command >=", value, "startCommand");
            return (Criteria) this;
        }

        public Criteria andStartCommandLessThan(String value) {
            addCriterion("start_command <", value, "startCommand");
            return (Criteria) this;
        }

        public Criteria andStartCommandLessThanOrEqualTo(String value) {
            addCriterion("start_command <=", value, "startCommand");
            return (Criteria) this;
        }

        public Criteria andStartCommandLike(String value) {
            addCriterion("start_command like", value, "startCommand");
            return (Criteria) this;
        }

        public Criteria andStartCommandNotLike(String value) {
            addCriterion("start_command not like", value, "startCommand");
            return (Criteria) this;
        }

        public Criteria andStartCommandIn(List<String> values) {
            addCriterion("start_command in", values, "startCommand");
            return (Criteria) this;
        }

        public Criteria andStartCommandNotIn(List<String> values) {
            addCriterion("start_command not in", values, "startCommand");
            return (Criteria) this;
        }

        public Criteria andStartCommandBetween(String value1, String value2) {
            addCriterion("start_command between", value1, value2, "startCommand");
            return (Criteria) this;
        }

        public Criteria andStartCommandNotBetween(String value1, String value2) {
            addCriterion("start_command not between", value1, value2, "startCommand");
            return (Criteria) this;
        }

        public Criteria andStopCommandIsNull() {
            addCriterion("stop_command is null");
            return (Criteria) this;
        }

        public Criteria andStopCommandIsNotNull() {
            addCriterion("stop_command is not null");
            return (Criteria) this;
        }

        public Criteria andStopCommandEqualTo(String value) {
            addCriterion("stop_command =", value, "stopCommand");
            return (Criteria) this;
        }

        public Criteria andStopCommandNotEqualTo(String value) {
            addCriterion("stop_command <>", value, "stopCommand");
            return (Criteria) this;
        }

        public Criteria andStopCommandGreaterThan(String value) {
            addCriterion("stop_command >", value, "stopCommand");
            return (Criteria) this;
        }

        public Criteria andStopCommandGreaterThanOrEqualTo(String value) {
            addCriterion("stop_command >=", value, "stopCommand");
            return (Criteria) this;
        }

        public Criteria andStopCommandLessThan(String value) {
            addCriterion("stop_command <", value, "stopCommand");
            return (Criteria) this;
        }

        public Criteria andStopCommandLessThanOrEqualTo(String value) {
            addCriterion("stop_command <=", value, "stopCommand");
            return (Criteria) this;
        }

        public Criteria andStopCommandLike(String value) {
            addCriterion("stop_command like", value, "stopCommand");
            return (Criteria) this;
        }

        public Criteria andStopCommandNotLike(String value) {
            addCriterion("stop_command not like", value, "stopCommand");
            return (Criteria) this;
        }

        public Criteria andStopCommandIn(List<String> values) {
            addCriterion("stop_command in", values, "stopCommand");
            return (Criteria) this;
        }

        public Criteria andStopCommandNotIn(List<String> values) {
            addCriterion("stop_command not in", values, "stopCommand");
            return (Criteria) this;
        }

        public Criteria andStopCommandBetween(String value1, String value2) {
            addCriterion("stop_command between", value1, value2, "stopCommand");
            return (Criteria) this;
        }

        public Criteria andStopCommandNotBetween(String value1, String value2) {
            addCriterion("stop_command not between", value1, value2, "stopCommand");
            return (Criteria) this;
        }

        public Criteria andMaxDurationIsNull() {
            addCriterion("max_duration is null");
            return (Criteria) this;
        }

        public Criteria andMaxDurationIsNotNull() {
            addCriterion("max_duration is not null");
            return (Criteria) this;
        }

        public Criteria andMaxDurationEqualTo(Integer value) {
            addCriterion("max_duration =", value, "maxDuration");
            return (Criteria) this;
        }

        public Criteria andMaxDurationNotEqualTo(Integer value) {
            addCriterion("max_duration <>", value, "maxDuration");
            return (Criteria) this;
        }

        public Criteria andMaxDurationGreaterThan(Integer value) {
            addCriterion("max_duration >", value, "maxDuration");
            return (Criteria) this;
        }

        public Criteria andMaxDurationGreaterThanOrEqualTo(Integer value) {
            addCriterion("max_duration >=", value, "maxDuration");
            return (Criteria) this;
        }

        public Criteria andMaxDurationLessThan(Integer value) {
            addCriterion("max_duration <", value, "maxDuration");
            return (Criteria) this;
        }

        public Criteria andMaxDurationLessThanOrEqualTo(Integer value) {
            addCriterion("max_duration <=", value, "maxDuration");
            return (Criteria) this;
        }

        public Criteria andMaxDurationIn(List<Integer> values) {
            addCriterion("max_duration in", values, "maxDuration");
            return (Criteria) this;
        }

        public Criteria andMaxDurationNotIn(List<Integer> values) {
            addCriterion("max_duration not in", values, "maxDuration");
            return (Criteria) this;
        }

        public Criteria andMaxDurationBetween(Integer value1, Integer value2) {
            addCriterion("max_duration between", value1, value2, "maxDuration");
            return (Criteria) this;
        }

        public Criteria andMaxDurationNotBetween(Integer value1, Integer value2) {
            addCriterion("max_duration not between", value1, value2, "maxDuration");
            return (Criteria) this;
        }

        public Criteria andMaxParallelIsNull() {
            addCriterion("max_parallel is null");
            return (Criteria) this;
        }

        public Criteria andMaxParallelIsNotNull() {
            addCriterion("max_parallel is not null");
            return (Criteria) this;
        }

        public Criteria andMaxParallelEqualTo(Short value) {
            addCriterion("max_parallel =", value, "maxParallel");
            return (Criteria) this;
        }

        public Criteria andMaxParallelNotEqualTo(Short value) {
            addCriterion("max_parallel <>", value, "maxParallel");
            return (Criteria) this;
        }

        public Criteria andMaxParallelGreaterThan(Short value) {
            addCriterion("max_parallel >", value, "maxParallel");
            return (Criteria) this;
        }

        public Criteria andMaxParallelGreaterThanOrEqualTo(Short value) {
            addCriterion("max_parallel >=", value, "maxParallel");
            return (Criteria) this;
        }

        public Criteria andMaxParallelLessThan(Short value) {
            addCriterion("max_parallel <", value, "maxParallel");
            return (Criteria) this;
        }

        public Criteria andMaxParallelLessThanOrEqualTo(Short value) {
            addCriterion("max_parallel <=", value, "maxParallel");
            return (Criteria) this;
        }

        public Criteria andMaxParallelIn(List<Short> values) {
            addCriterion("max_parallel in", values, "maxParallel");
            return (Criteria) this;
        }

        public Criteria andMaxParallelNotIn(List<Short> values) {
            addCriterion("max_parallel not in", values, "maxParallel");
            return (Criteria) this;
        }

        public Criteria andMaxParallelBetween(Short value1, Short value2) {
            addCriterion("max_parallel between", value1, value2, "maxParallel");
            return (Criteria) this;
        }

        public Criteria andMaxParallelNotBetween(Short value1, Short value2) {
            addCriterion("max_parallel not between", value1, value2, "maxParallel");
            return (Criteria) this;
        }

        public Criteria andPsKeyWordsIsNull() {
            addCriterion("ps_key_words is null");
            return (Criteria) this;
        }

        public Criteria andPsKeyWordsIsNotNull() {
            addCriterion("ps_key_words is not null");
            return (Criteria) this;
        }

        public Criteria andPsKeyWordsEqualTo(String value) {
            addCriterion("ps_key_words =", value, "psKeyWords");
            return (Criteria) this;
        }

        public Criteria andPsKeyWordsNotEqualTo(String value) {
            addCriterion("ps_key_words <>", value, "psKeyWords");
            return (Criteria) this;
        }

        public Criteria andPsKeyWordsGreaterThan(String value) {
            addCriterion("ps_key_words >", value, "psKeyWords");
            return (Criteria) this;
        }

        public Criteria andPsKeyWordsGreaterThanOrEqualTo(String value) {
            addCriterion("ps_key_words >=", value, "psKeyWords");
            return (Criteria) this;
        }

        public Criteria andPsKeyWordsLessThan(String value) {
            addCriterion("ps_key_words <", value, "psKeyWords");
            return (Criteria) this;
        }

        public Criteria andPsKeyWordsLessThanOrEqualTo(String value) {
            addCriterion("ps_key_words <=", value, "psKeyWords");
            return (Criteria) this;
        }

        public Criteria andPsKeyWordsLike(String value) {
            addCriterion("ps_key_words like", value, "psKeyWords");
            return (Criteria) this;
        }

        public Criteria andPsKeyWordsNotLike(String value) {
            addCriterion("ps_key_words not like", value, "psKeyWords");
            return (Criteria) this;
        }

        public Criteria andPsKeyWordsIn(List<String> values) {
            addCriterion("ps_key_words in", values, "psKeyWords");
            return (Criteria) this;
        }

        public Criteria andPsKeyWordsNotIn(List<String> values) {
            addCriterion("ps_key_words not in", values, "psKeyWords");
            return (Criteria) this;
        }

        public Criteria andPsKeyWordsBetween(String value1, String value2) {
            addCriterion("ps_key_words between", value1, value2, "psKeyWords");
            return (Criteria) this;
        }

        public Criteria andPsKeyWordsNotBetween(String value1, String value2) {
            addCriterion("ps_key_words not between", value1, value2, "psKeyWords");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andIzEnabledIsNull() {
            addCriterion("iz_enabled is null");
            return (Criteria) this;
        }

        public Criteria andIzEnabledIsNotNull() {
            addCriterion("iz_enabled is not null");
            return (Criteria) this;
        }

        public Criteria andIzEnabledEqualTo(String value) {
            addCriterion("iz_enabled =", value, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzEnabledNotEqualTo(String value) {
            addCriterion("iz_enabled <>", value, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzEnabledGreaterThan(String value) {
            addCriterion("iz_enabled >", value, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzEnabledGreaterThanOrEqualTo(String value) {
            addCriterion("iz_enabled >=", value, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzEnabledLessThan(String value) {
            addCriterion("iz_enabled <", value, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzEnabledLessThanOrEqualTo(String value) {
            addCriterion("iz_enabled <=", value, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzEnabledLike(String value) {
            addCriterion("iz_enabled like", value, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzEnabledNotLike(String value) {
            addCriterion("iz_enabled not like", value, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzEnabledIn(List<String> values) {
            addCriterion("iz_enabled in", values, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzEnabledNotIn(List<String> values) {
            addCriterion("iz_enabled not in", values, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzEnabledBetween(String value1, String value2) {
            addCriterion("iz_enabled between", value1, value2, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzEnabledNotBetween(String value1, String value2) {
            addCriterion("iz_enabled not between", value1, value2, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzDeletedIsNull() {
            addCriterion("iz_deleted is null");
            return (Criteria) this;
        }

        public Criteria andIzDeletedIsNotNull() {
            addCriterion("iz_deleted is not null");
            return (Criteria) this;
        }

        public Criteria andIzDeletedEqualTo(String value) {
            addCriterion("iz_deleted =", value, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andIzDeletedNotEqualTo(String value) {
            addCriterion("iz_deleted <>", value, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andIzDeletedGreaterThan(String value) {
            addCriterion("iz_deleted >", value, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andIzDeletedGreaterThanOrEqualTo(String value) {
            addCriterion("iz_deleted >=", value, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andIzDeletedLessThan(String value) {
            addCriterion("iz_deleted <", value, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andIzDeletedLessThanOrEqualTo(String value) {
            addCriterion("iz_deleted <=", value, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andIzDeletedLike(String value) {
            addCriterion("iz_deleted like", value, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andIzDeletedNotLike(String value) {
            addCriterion("iz_deleted not like", value, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andIzDeletedIn(List<String> values) {
            addCriterion("iz_deleted in", values, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andIzDeletedNotIn(List<String> values) {
            addCriterion("iz_deleted not in", values, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andIzDeletedBetween(String value1, String value2) {
            addCriterion("iz_deleted between", value1, value2, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andIzDeletedNotBetween(String value1, String value2) {
            addCriterion("iz_deleted not between", value1, value2, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andExtNameIsNull() {
            addCriterion("ext_name is null");
            return (Criteria) this;
        }

        public Criteria andExtNameIsNotNull() {
            addCriterion("ext_name is not null");
            return (Criteria) this;
        }

        public Criteria andExtNameEqualTo(String value) {
            addCriterion("ext_name =", value, "extName");
            return (Criteria) this;
        }

        public Criteria andExtNameNotEqualTo(String value) {
            addCriterion("ext_name <>", value, "extName");
            return (Criteria) this;
        }

        public Criteria andExtNameGreaterThan(String value) {
            addCriterion("ext_name >", value, "extName");
            return (Criteria) this;
        }

        public Criteria andExtNameGreaterThanOrEqualTo(String value) {
            addCriterion("ext_name >=", value, "extName");
            return (Criteria) this;
        }

        public Criteria andExtNameLessThan(String value) {
            addCriterion("ext_name <", value, "extName");
            return (Criteria) this;
        }

        public Criteria andExtNameLessThanOrEqualTo(String value) {
            addCriterion("ext_name <=", value, "extName");
            return (Criteria) this;
        }

        public Criteria andExtNameLike(String value) {
            addCriterion("ext_name like", value, "extName");
            return (Criteria) this;
        }

        public Criteria andExtNameNotLike(String value) {
            addCriterion("ext_name not like", value, "extName");
            return (Criteria) this;
        }

        public Criteria andExtNameIn(List<String> values) {
            addCriterion("ext_name in", values, "extName");
            return (Criteria) this;
        }

        public Criteria andExtNameNotIn(List<String> values) {
            addCriterion("ext_name not in", values, "extName");
            return (Criteria) this;
        }

        public Criteria andExtNameBetween(String value1, String value2) {
            addCriterion("ext_name between", value1, value2, "extName");
            return (Criteria) this;
        }

        public Criteria andExtNameNotBetween(String value1, String value2) {
            addCriterion("ext_name not between", value1, value2, "extName");
            return (Criteria) this;
        }

        public Criteria andConfigTimeIsNull() {
            addCriterion("config_time is null");
            return (Criteria) this;
        }

        public Criteria andConfigTimeIsNotNull() {
            addCriterion("config_time is not null");
            return (Criteria) this;
        }

        public Criteria andConfigTimeEqualTo(Date value) {
            addCriterion("config_time =", value, "configTime");
            return (Criteria) this;
        }

        public Criteria andConfigTimeNotEqualTo(Date value) {
            addCriterion("config_time <>", value, "configTime");
            return (Criteria) this;
        }

        public Criteria andConfigTimeGreaterThan(Date value) {
            addCriterion("config_time >", value, "configTime");
            return (Criteria) this;
        }

        public Criteria andConfigTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("config_time >=", value, "configTime");
            return (Criteria) this;
        }

        public Criteria andConfigTimeLessThan(Date value) {
            addCriterion("config_time <", value, "configTime");
            return (Criteria) this;
        }

        public Criteria andConfigTimeLessThanOrEqualTo(Date value) {
            addCriterion("config_time <=", value, "configTime");
            return (Criteria) this;
        }

        public Criteria andConfigTimeIn(List<Date> values) {
            addCriterion("config_time in", values, "configTime");
            return (Criteria) this;
        }

        public Criteria andConfigTimeNotIn(List<Date> values) {
            addCriterion("config_time not in", values, "configTime");
            return (Criteria) this;
        }

        public Criteria andConfigTimeBetween(Date value1, Date value2) {
            addCriterion("config_time between", value1, value2, "configTime");
            return (Criteria) this;
        }

        public Criteria andConfigTimeNotBetween(Date value1, Date value2) {
            addCriterion("config_time not between", value1, value2, "configTime");
            return (Criteria) this;
        }

        public Criteria andRealtimeInstancePidIsNull() {
            addCriterion("realtime_instance_pid is null");
            return (Criteria) this;
        }

        public Criteria andRealtimeInstancePidIsNotNull() {
            addCriterion("realtime_instance_pid is not null");
            return (Criteria) this;
        }

        public Criteria andRealtimeInstancePidEqualTo(Integer value) {
            addCriterion("realtime_instance_pid =", value, "realtimeInstancePid");
            return (Criteria) this;
        }

        public Criteria andRealtimeInstancePidNotEqualTo(Integer value) {
            addCriterion("realtime_instance_pid <>", value, "realtimeInstancePid");
            return (Criteria) this;
        }

        public Criteria andRealtimeInstancePidGreaterThan(Integer value) {
            addCriterion("realtime_instance_pid >", value, "realtimeInstancePid");
            return (Criteria) this;
        }

        public Criteria andRealtimeInstancePidGreaterThanOrEqualTo(Integer value) {
            addCriterion("realtime_instance_pid >=", value, "realtimeInstancePid");
            return (Criteria) this;
        }

        public Criteria andRealtimeInstancePidLessThan(Integer value) {
            addCriterion("realtime_instance_pid <", value, "realtimeInstancePid");
            return (Criteria) this;
        }

        public Criteria andRealtimeInstancePidLessThanOrEqualTo(Integer value) {
            addCriterion("realtime_instance_pid <=", value, "realtimeInstancePid");
            return (Criteria) this;
        }

        public Criteria andRealtimeInstancePidIn(List<Integer> values) {
            addCriterion("realtime_instance_pid in", values, "realtimeInstancePid");
            return (Criteria) this;
        }

        public Criteria andRealtimeInstancePidNotIn(List<Integer> values) {
            addCriterion("realtime_instance_pid not in", values, "realtimeInstancePid");
            return (Criteria) this;
        }

        public Criteria andRealtimeInstancePidBetween(Integer value1, Integer value2) {
            addCriterion("realtime_instance_pid between", value1, value2, "realtimeInstancePid");
            return (Criteria) this;
        }

        public Criteria andRealtimeInstancePidNotBetween(Integer value1, Integer value2) {
            addCriterion("realtime_instance_pid not between", value1, value2, "realtimeInstancePid");
            return (Criteria) this;
        }

        public Criteria andCurrentTaskIdIsNull() {
            addCriterion("current_task_id is null");
            return (Criteria) this;
        }

        public Criteria andCurrentTaskIdIsNotNull() {
            addCriterion("current_task_id is not null");
            return (Criteria) this;
        }

        public Criteria andCurrentTaskIdEqualTo(Long value) {
            addCriterion("current_task_id =", value, "currentTaskId");
            return (Criteria) this;
        }

        public Criteria andCurrentTaskIdNotEqualTo(Long value) {
            addCriterion("current_task_id <>", value, "currentTaskId");
            return (Criteria) this;
        }

        public Criteria andCurrentTaskIdGreaterThan(Long value) {
            addCriterion("current_task_id >", value, "currentTaskId");
            return (Criteria) this;
        }

        public Criteria andCurrentTaskIdGreaterThanOrEqualTo(Long value) {
            addCriterion("current_task_id >=", value, "currentTaskId");
            return (Criteria) this;
        }

        public Criteria andCurrentTaskIdLessThan(Long value) {
            addCriterion("current_task_id <", value, "currentTaskId");
            return (Criteria) this;
        }

        public Criteria andCurrentTaskIdLessThanOrEqualTo(Long value) {
            addCriterion("current_task_id <=", value, "currentTaskId");
            return (Criteria) this;
        }

        public Criteria andCurrentTaskIdIn(List<Long> values) {
            addCriterion("current_task_id in", values, "currentTaskId");
            return (Criteria) this;
        }

        public Criteria andCurrentTaskIdNotIn(List<Long> values) {
            addCriterion("current_task_id not in", values, "currentTaskId");
            return (Criteria) this;
        }

        public Criteria andCurrentTaskIdBetween(Long value1, Long value2) {
            addCriterion("current_task_id between", value1, value2, "currentTaskId");
            return (Criteria) this;
        }

        public Criteria andCurrentTaskIdNotBetween(Long value1, Long value2) {
            addCriterion("current_task_id not between", value1, value2, "currentTaskId");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeIsNull() {
            addCriterion("last_modify_time is null");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeIsNotNull() {
            addCriterion("last_modify_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeEqualTo(Date value) {
            addCriterion("last_modify_time =", value, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeNotEqualTo(Date value) {
            addCriterion("last_modify_time <>", value, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeGreaterThan(Date value) {
            addCriterion("last_modify_time >", value, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_modify_time >=", value, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeLessThan(Date value) {
            addCriterion("last_modify_time <", value, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_modify_time <=", value, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeIn(List<Date> values) {
            addCriterion("last_modify_time in", values, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeNotIn(List<Date> values) {
            addCriterion("last_modify_time not in", values, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeBetween(Date value1, Date value2) {
            addCriterion("last_modify_time between", value1, value2, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_modify_time not between", value1, value2, "lastModifyTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}